home *** CD-ROM | disk | FTP | other *** search
-
- ***** expand with the -d option ******
-
-
- VECT32.EXE is a SVGA/VGA interactive vector graphics thing written
- by me (Aaron Peapell). I think vect32 is worth checking out to see what's
- possible without using asm. It demonstrates,
-
- * Solid fill
- * Lambert shading
- * Texture mapping
- * Gouraud shading
- * Phong shading (very shitty)
- * All in SVGA and VGA modes
-
- This was written completely with GNU C(100%). The DOOM2 textures were
- captured by modifing the DEU editor, because I dont have a scanner and it looks
- cool. Example usage of VECT32.EXE and GEN.EXE from the command line.
-
- c:\>vect32 *do it (vga with box)
- c:\>gen 7 8 1.0 > sphere *generate sphere data
- c:\>svga *set up svga mode
- c:\>vect32 sphere *do it(svga + sphere)
-
- VECT32.EXE - Summary of keys and when to use them
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Keys that work all the time:
-
- Cursor keys :change the ROTATION around the x and z axis
- . , :change the DISTANCE of the object
- TAB :change the METHOD of rendering
- esc q :QUIT
-
- Keys that work when texture mapping:
-
- = - :change bitmap
- ; ' :change background bitmap
-
- NOT when texture mapping:
-
- [ :changes base colour
- ] :changes the 'palette'
- i, l, m, j :changes the rotation of the LIGHT SOURCE
- around the x and z axis respectivly
-
- SVGA & VGA
-
- The supplied batch files set the environment variable GO32.
- This is needed by the dos extender. Setting it to nothing (set GO32= ) will
- let the demo run in vga mode (320x200x256). Setting it to YOUR video driver
- (see svga.bat) will run the demo in 640x480x256 or better. You may have to
- experiment a little.
-
- GEN.EXE is a generator for points on a sphere. It reqiures
- the # of divisions up, around as well as the radius of the sphere to
- be given on the command line (1.0 is good see usage example above). The bug in
- the graphics when using a file produced by GEN.EXE is due to the generator and
- not vect32.
-
- If you are interseted in the source or want to send any comments,
- suggestions or WORK (i'm a pov student) to:
-
- Aaron Peapell
-
- email:
- n1178318@droid.fit.qut.edu.au
-
-
- Paul van dyke, Dye Witness and Quench F'KEN RIP
-
-